Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

233
Vistas
What does it mean that a type is "bridged"

In "The Swift Programming Language (Swift 5.6 beta)" by Apple, in the Language Reference/Statements section, there is a formal definition of a guard statement

guard <condition> else {
  <statements>
}

where, I quote “...The value of any condition in a guard statement must be of type Bool or a type bridged to Bool. The condition can also be an optional binding declaration, as discussed in Optional Binding...”

What does it mean for a type to be bridged to Bool (or to whatever other type T assuming bridging to T is possible)? Is this something specific to Bool, like an implicit cast? Is it a built-in or can one generally bridge to any T by following a formal procedure.

I've searched far and wide but have not been able to find a formal-ish description of bridging in the same publication or elsewhere (if one exists please point it out to me).

over 4 years ago · Santiago Trujillo
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda